package com.aiyige.model;

import java.util.List;

/**
 * Created by xiachao on 2017/11/15.
 */

public class CommentEntityList{

    private boolean asc;
    private String condition;
    private int current;
    private int limit;
    private int offset;
    private int offsetCurrent;
    private boolean openSort;
    private String orderByField;
    private int pages;
    private List<CommentEntity> records;
    private boolean searchCount;
    private int size;
    private int total;

    public CommentEntityList() {

    }

    public void setAsc(boolean asc) {
        this.asc = asc;
    }

    public boolean getAsc() {
        return asc;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getCondition() {
        return condition;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getCurrent() {
        return current;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getLimit() {
        return limit;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffsetCurrent(int offsetCurrent) {
        this.offsetCurrent = offsetCurrent;
    }

    public int getOffsetCurrent() {
        return offsetCurrent;
    }

    public void setOpenSort(boolean openSort) {
        this.openSort = openSort;
    }

    public boolean getOpenSort() {
        return openSort;
    }

    public void setOrderByField(String orderByField) {
        this.orderByField = orderByField;
    }

    public String getOrderByField() {
        return orderByField;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPages() {
        return pages;
    }

    public void setRecords(List<CommentEntity> records) {
        this.records = records;
    }

    public List<CommentEntity> getRecords() {
        return records;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public boolean getSearchCount() {
        return searchCount;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getSize() {
        return size;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotal() {
        return total;
    }
}
